package router

import (
	"api-getaway/handler/api"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {
	r.POST("/sendSms", api.SendSms)
	r.POST("/register", api.Register)
	r.POST("/login", api.Login)
	r.POST("/upload", api.Upload)
	r.POST("/video/add", api.VideoAdd)
	r.POST("/VideoCheckRecord/Add", api.VideoCheckRecordAdd)
	r.GET("/video/list", api.VideoList)
	r.GET("/video/show", api.VideoShow)
	r.GET("/video/episode/list", api.VideoEpisodeList)
}
